package com.ruoyi.zhgd.service;

import com.ruoyi.zhgd.domain.vo.NLaboratoryAsphaltSampleVo;
import com.ruoyi.zhgd.domain.bo.NLaboratoryAsphaltSampleBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 试验室沥青样品Service接口
 *
 * @author zyb
 * @date 2024-02-02
 */
public interface INLaboratoryAsphaltSampleService {

    /**
     * 查询试验室沥青样品
     */
    NLaboratoryAsphaltSampleVo queryById(Long id);

    /**
     * 查询试验室沥青样品列表
     */
    TableDataInfo<NLaboratoryAsphaltSampleVo> queryPageList(NLaboratoryAsphaltSampleBo bo, PageQuery pageQuery);

    /**
     * 查询试验室沥青样品列表
     */
    List<NLaboratoryAsphaltSampleVo> queryList(NLaboratoryAsphaltSampleBo bo);

    /**
     * 新增试验室沥青样品
     */
    Boolean insertByBo(NLaboratoryAsphaltSampleBo bo);

    /**
     * 修改试验室沥青样品
     */
    Boolean updateByBo(NLaboratoryAsphaltSampleBo bo);

    /**
     * 校验并批量删除试验室沥青样品信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
